using System;
using System.ComponentModel;

namespace hao_Model.Enums
{
    /// <summary>
    /// 商品交易方式枚举
    /// </summary>
    [Flags]
    public enum DeliveryMethod
    {
        /// <summary>
        /// 无（默认值，无效状态）
        /// </summary>
        [Description("无")]
        None = 0,

        /// <summary>
        /// 面交
        /// </summary>
        [Description("面交")]
        FaceToFace = 1,

        /// <summary>
        /// 邮寄
        /// </summary>
        [Description("邮寄")]
        Mail = 2,

        /// <summary>
        /// 两者都可以
        /// </summary>
        [Description("面交和邮寄")]
        Both = FaceToFace | Mail
    }

    /// <summary>
    /// 商品议价选项枚举
    /// </summary>
    public enum BargainOption
    {
        /// <summary>
        /// 不议价
        /// </summary>
        [Description("不议价")]
        NoBargain = 1,

        /// <summary>
        /// 允许砍价
        /// </summary>
        [Description("允许砍价")]
        AllowBargain = 2,

        /// <summary>
        /// 可协商
        /// </summary>
        [Description("可协商")]
        Negotiable = 3
    }
}